import hashlib


def createHashPwd(uname: str, pwd: str):
    h = hashlib.sha1()
    h.update((uname + pwd).encode('utf-8'))
    return '@userpwd.' + h.hexdigest() + '.end'
